package demo2;

public class Test {
    public static void drawTest(IShapeable shape){
        shape.draw();
    }
    //Ishapeable i = new IShapeable();
    public static void main(String[] args) {
        Cycle cycle = new Cycle();
        Rest rest = new Rest();
        drawTest(cycle);
        drawTest(rest);
    }
}
